package homework0306;

import java.io.File;

public class FileDemo1 {
    public static void main(String[] args) {
        File file=new File("./src");
        String name=file.getName();
        System.out.println(name);
        long len=file.length();
        System.out.println(len);
    }
}
